package cdu.bbs.bbsv2.service;

import cdu.bbs.bbsv2.domain.Topic;
import cdu.bbs.bbsv2.domain.User;

import java.util.List;
import java.util.Map;

public interface UserService {
     User login(String loginAct, String loginPwd);
    boolean register(User user);

    List<User> getUsers();

    Boolean deleteUserById(String id);

    User getUserById(String id);

    boolean modUserById(User user);

    List<User> getUsersByCondition(Map<String, String> conditions);

    Boolean deleteUserByIds(String[] ids);
}
